package com.yxt.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author august
 * @email 379249906@qq.com
 * @date 2020-08-05 15:41:54
 */
@Data
@TableName("sys_menu")
public class MenuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long menuId;
	/**
	 * 
	 */
	private String url;
	/**
	 * 
	 */
	private String path;
	/**
	 * 
	 */
	private String name;
	/**
	 * 
	 */
	private Long parentid;
	/**
	 * 
	 */
	private Integer enabled;
	/**
	 * 
	 */
	private String redirect;
	/**
	 * 
	 */
	private String title;
	/**
	 * 
	 */
	private String icon;

	/**
	 * 授权(多个用逗号分隔，如：user:list,user:create)
	 */
	private String perms;

	/**
	 * 类型   1：菜单   2：按钮
	 */
	private Integer type;

}
